#ifndef _MEMCACHE_MEM_MANAGER_H_
#define _MEMCACHE_MEM_MANAGER_H_

class MemHashMap{
public:
    void init(const int hashpower_init);
    item *find(const char *key, const size_t nkey);
    int insert(item *item, const uint32_t hv);
    void delete(const char *key, const size_t nkey);
private:
    MemAllocator* _mem_allocator;
    MemHashMap*  _mem_hashmap;
    MemCache* _mem_cache;
};

#endif